﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RepositoryFramework;

namespace Portal.Repository
{
	/// <summary>
	/// Class <see cref="PortalUnitOfWorkProvider"/> define portal unit of work provider
	/// </summary>
	public class PortalUnitOfWorkProvider : UnitOfWorkProvider<IPortalUnitOfWork>, IPortalUnitOfWorkProvider
	{
		/// <summary>
		/// Gets the new.
		/// </summary>
		/// <returns></returns>
		/// <exception cref="System.NotImplementedException"></exception>
		protected override IPortalUnitOfWork GetNew()
		{
			return new PortalUnitOfWork();
		}
	}
}
